ProcessStatus
ProcessStatus[proc] gives the current status of the external process represented by the ProcessObject proc.
ProcessStatus[proc, "status"] returns True if the process has the status given, and returns False otherwise.
Please visit the official Wolfram Language Reference for more details and examples on core symbols.